package com.shixulin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shixulin.domain.ResponseResult;
import com.shixulin.entity.DTO.NewsQueryDTO;
import com.shixulin.entity.News;


/**
 * (News)表服务接口
 *
 * @author makejava
 * @since 2023-11-17 12:12:04
 */
public interface NewsService extends IService<News> {

    ResponseResult uploadNews(News news);

    ResponseResult getNews( NewsQueryDTO newsQueryDTO);

    ResponseResult selectOneNews(int id);

    ResponseResult updateNews(News news);

    ResponseResult deleteNews(int id);

    ResponseResult getNews1();
}

